package com.hyt.it.ogt.ykcj.domain.zs;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hyt.core.base.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 *
 * 证书模板配置实体
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("zs_template_config")
@ApiModel(value = "证书模板配置", description = "证书模板配置")
public class ZsTemplateConfig extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id")
	private String id;

	@ApiModelProperty(value = "模板id")
	private String templateId;

	@ApiModelProperty(value = "变量类型  1：文字，2：图片")
	private Integer variableType;

	@ApiModelProperty(value = "变量code")
	private String variableCode;

	@ApiModelProperty(value = "变量名称")
	private String variableName;
	
	@ApiModelProperty(value = "变量默认值")
	private String variableDefaultValue;
	
	@ApiModelProperty(value = "变量排序")
	private Integer variableSort;
	
	@ApiModelProperty(value = "变量颜色")
	private String variableColor;
	
	@ApiModelProperty(value = "变量字体")
	private String variableFont;
	
	@ApiModelProperty(value = "变量字体大小")
	private Integer variableFontSize;
	
	@ApiModelProperty(value = "是否居中")
	private Boolean variableCenter;
	
	@ApiModelProperty(value = "变量X坐标")
	private Integer variableXPoint;
	
	@ApiModelProperty(value = "变量Y坐标")
	private Integer variableYPoint;
	
	@ApiModelProperty(value = "变量宽")
	private Integer variableWidth;
	
	@ApiModelProperty(value = "变量高")
	private Integer variableHeight;

	@ApiModelProperty(value = "变量描述")
	private String variableDescription;

	@TableField("is_import_param")
	@ApiModelProperty(value = "是否为导入参数  0：否，1：是")
	private Boolean importParam;

	@TableField("is_allow_use_default")
	@ApiModelProperty(value = "是否允许使用默认值 0：否，1：是")
	private Boolean allowUseDefault;
	
	@ApiModelProperty(value = "导入参数检查类型  0、Non：不检查，1、Text：文本检查，2、Number：数字检查，3、IdCard：证件号检查（主：此检查会跟随IdCardType一同联动，如无Type则直接校验大陆身份证），4、Date：日期检查")
	private Integer importCheckType;

	@TableField("is_show_view")
	@ApiModelProperty(value = "是否列表显示")
	private Boolean showView;

	@TableField("is_template_render")
	@ApiModelProperty(value = "是否模板渲染")
	private Boolean templateRender;

	@ApiModelProperty(value = "模板格式")
	private String templateFormat;
}
